Skip to content

Fix image push tests permissions in CI#128

Closed
Siddhant-K-code wants to merge 3 commits intoapple:mainfrom
Siddhant-K-code:fix/image-push-tests-permissions
Closed

Fix image push tests permissions in CI#128
Siddhant-K-code wants to merge 3 commits intoapple:mainfrom
Siddhant-K-code:fix/image-push-tests-permissions

Conversation

@Siddhant-K-code
Copy link
Copy Markdown

Implemented a mock-based testing approach that validates push functionality without requiring external registry permissions.

fixes #56

@adityaramani
Copy link
Copy Markdown
Contributor

Thanks for the PR! Will take a deeper look and get back!

In the meantime could you please set up commit signing and re push your commits?

@Siddhant-K-code Siddhant-K-code force-pushed the fix/image-push-tests-permissions branch from 0b27707 to 825f0ad Compare June 14, 2025 18:15
@Siddhant-K-code
Copy link
Copy Markdown
Author

Thanks, I've signed the commit 825f0ad

@Siddhant-K-code Siddhant-K-code force-pushed the fix/image-push-tests-permissions branch from c2b4575 to f044c26 Compare June 14, 2025 18:34
@adityaramani adityaramani self-assigned this Jun 17, 2025
@Siddhant-K-code
Copy link
Copy Markdown
Author

👋🏻 @adityaramani, any progress on this?

@dcantah
Copy link
Copy Markdown
Member

dcantah commented Jul 7, 2025

Hi @Siddhant-K-code, please run make fmt and then re-push with the changes. CI is just whining on that

@Siddhant-K-code Siddhant-K-code force-pushed the fix/image-push-tests-permissions branch from 8b94a70 to 108db95 Compare July 7, 2025 20:45
@Siddhant-K-code Siddhant-K-code force-pushed the fix/image-push-tests-permissions branch from 108db95 to 4fac487 Compare July 7, 2025 21:15
Copy link
Copy Markdown
Contributor

@adityaramani adityaramani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the long delay.

I like the update to the ImageStoreTests, but Im not sure about the RegistryClientTests

Do you want to back that out from the PR and we can re-think if there is a better way to do it?

Comment thread Tests/ContainerizationTests/ImageTests/ImageStoreTests.swift
Comment thread Tests/ContainerizationOCITests/RegistryClientTests.swift Outdated
Copy link
Copy Markdown
Contributor

@adityaramani adityaramani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good! Just two small comments

Comment thread Tests/ContainerizationOCITests/RegistryClientTests.swift
Comment thread Tests/ContainerizationOCITests/RegistryClientTests.swift Outdated
@Siddhant-K-code Siddhant-K-code force-pushed the fix/image-push-tests-permissions branch from 602f4a5 to 7e45ae0 Compare July 9, 2025 04:51
@adityaramani
Copy link
Copy Markdown
Contributor

Looks like you need to run make fmt and re-push. Could you also remove the other changes from the RegistryClientTests file?

@crosbymichael
Copy link
Copy Markdown
Contributor

This is pretty stale now. Lets close this and if it still needs to be address we can open a new change on the new codebase.

@Siddhant-K-code
Copy link
Copy Markdown
Author

@crosbymichael - I am unsure, what was the missing piece from the change. But, i respect your decision to close the PR!

@Siddhant-K-code Siddhant-K-code deleted the fix/image-push-tests-permissions branch April 29, 2026 15:22
@crosbymichael
Copy link
Copy Markdown
Contributor

@Siddhant-K-code It was mostly because of how old the change was. Thank you for understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Image push tests permissions in CI

5 participants